package com.situ.mall.product.pojo.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductExcelVO implements Serializable {
	@ExcelProperty(value = "ID")
	private Long id;
	
	@ExcelProperty(value = "商品名称")
	private String name;
	
	@ExcelProperty(value = "商品标题")
	private String title;
	
	@ExcelProperty(value = "详细描述")
	private String intro;
	
	@ExcelProperty(value = "一级分类")
	private String category1Name;
	
	@ExcelProperty(value = "二级分类")
	private String category2Name;
	
	@ExcelProperty(value = "三级分类")
	private String category3Name;
	
	@ExcelProperty(value = "主图")
	private String image;
	
	@ExcelProperty(value = "轮播图")
	private String carouselImage;
	
	@ExcelIgnore
	private String content;
	
	@ExcelProperty(value = "库存")
	private Integer stock;
	
	@ExcelProperty(value = "销量")
	private Integer sales;
	
	@ExcelProperty(value = "售价")
	private BigDecimal price;
	
	@ExcelProperty(value = "产品价格")
	private BigDecimal productPrice;
	
	@ExcelProperty(value = "状态")
	private Integer status;
	
	@ExcelProperty(value = "创建时间")
	private Date createTime;
	
	@ExcelProperty(value = "更新时间")
	private Date updateTime;
	
	@ExcelProperty(value = "逻辑删除")
	private Integer deleted;
}
